/*
* @Date: 2021/3/30
* @Author: XueChengwu <xuechengwu@erayt.com>
* @Copyright: 2015-2019 Erayt, Inc.
* @Description: If you have some questions, please contact: xuechengwu@erayt.com.
*/

export default class Xd {
  constructor(config) {
    this.id = config.id;
    this.component = config.component;
    this.origin = config.origin || null; // 组件原始描述
    this.props = new Map(); // 当前组件props
    this.parent = null; // 父节点
    this.childs = config.childs || []; // 直接子节点
    this.page = config.page || null; // 所在页面
    this.prev = null; //
    this.next = null;
  }


}
